﻿@model JaxDug.Models.LogOnModel
<form id="login" action="/Account/LogOn" method="post">
<div id="login_holder">
    @if (Request.IsAuthenticated)
    {
        <text>Welcome <strong>@User.Identity.Name</strong>! [@Html.ActionLink("Log Off", "LogOff", "Account")]</text>
    }
    else
    {
        <div id="profiles">
        </div>
        <div id="submit" class="submit_btn">
            <input type="submit" value="Sign In" />
        </div>
        <div id="password">
            @Html.PasswordFor(m => m.Password, new { tabindex = 2, @class = "LoginTextbox" })
        </div>
        <div id="username">
            @Html.TextBoxFor(m => m.UserName, new { tabindex = 1, @class = "LoginTextbox" })
        </div>
        <div id="register">
            Not a member? @Html.ActionLink("Sign Up", "Register", "Account") and join the group!<br />
            <div id="LinkedLogIn" style="float: right; margin-top: 3px; padding-right: 55px;
                margin-left: -35px;">
            </div>
        </div>
    }
</div>
</form>